package com.kmxd.ams.client.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 角色分配用户对象
 *
 * @author admin
 * @since 2021-06-10
 */
@Data
@Schema(description = "角色分配用户对象")
public class SysRoleAssignUsersDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 角色ID */
  @NotNull(message = "角色ID不能为空")
  @Schema(description = "角色ID")
  private Long roleId;

  /** 用户ids */
  @Schema(description = "用户ids")
  private List<Long> userIds;
}
